package controllers;

import play.*;
import play.mvc.*;
import java.util.*;

import models.*;

public class Application extends Controller {

    public static void index() {
    	/*Merchant merchant = Merchant.findById(new Integer(66));
    	System.out.println(merchant.name);*/
    	
    	Product product = Product.findById(418780, 66);
    	product.merchantId = 100;
    	product.save();
    	System.out.println("Product-+++: " + product.price);
        render();
    }

}